package com.letoy.study.dao;

import com.letoy.study.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface UserMapper {
    User getUserByEmailAndPassword(String email, String password);
    User getUserByEmail(String email);
    User getUserByUserId(String userId);
    int initUser(User user);

}
